<%--
  Created by IntelliJ IDEA.
  User: lqj
  Date: 2020/12/14
  Time: 2:11 下午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
     你的用户名为:${username},密码为${password}  <br>  ${user.userName}
<%
    String username = (String)request.getAttribute("username");
    String password = (String)request.getAttribute("password");
%>
     你的用户名为:<%=username%>,密码为<%=password%>
    <br>
${3+4}<br>
${3 mod 4}
<%
    //response.setCharacterEncoding("UTF-8");
%>
${pageContext.response.characterEncoding}
</body>
</html>
